package com.swing.gui.pages;

import base.JPanelBase;
import com.swing.gui.pages.Home;

import javax.swing.*;
import java.awt.*;

/**
 * @author Yuang, Gongming
 * @date 2022-01-18 17:34
 */
public class Head extends JPanel implements JPanelBase {
    private static Head head;

    private Head(){}

    public static Head init(){
        if(head == null){
            synchronized (Head.class){
                if(head == null){
                    head = new Head();
                    head.setBackground(Color.RED);
                }
            }
        }
        return head;
    }

    @Override
    public void css() {

    }

    @Override
    public void planning() {

    }

    @Override
    public void event() {

    }
}
